package com.ruoyi.profession.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 履历信息对象 career_info
 * 
 * @author ruoyi
 * @date 2024-06-01
 */
public class CareerInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 基本信息ID（外键） */
    @Excel(name = "基本信息ID", readConverterExp = "外=键")
    private Long basicInfoId;

    /** 参工时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "参工时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date entryTime;

    /** 参保时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "参保时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date insuranceTime;

    /** 工作履历 */
    @Excel(name = "工作履历")
    private String jobResume;

    /** 现工作单位 */
    @Excel(name = "现工作单位")
    private String currentWorkUnit;

    /** 执照扫描件 */
    @Excel(name = "执照扫描件")
    private String licenseScan;

    private BasicInfo basic;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setBasicInfoId(Long basicInfoId) 
    {
        this.basicInfoId = basicInfoId;
    }

    public Long getBasicInfoId() 
    {
        return basicInfoId;
    }
    public void setEntryTime(Date entryTime) 
    {
        this.entryTime = entryTime;
    }

    public Date getEntryTime() 
    {
        return entryTime;
    }
    public void setInsuranceTime(Date insuranceTime) 
    {
        this.insuranceTime = insuranceTime;
    }

    public Date getInsuranceTime() 
    {
        return insuranceTime;
    }
    public void setJobResume(String jobResume) 
    {
        this.jobResume = jobResume;
    }

    public String getJobResume() 
    {
        return jobResume;
    }
    public void setCurrentWorkUnit(String currentWorkUnit) 
    {
        this.currentWorkUnit = currentWorkUnit;
    }

    public String getCurrentWorkUnit() 
    {
        return currentWorkUnit;
    }
    public void setLicenseScan(String licenseScan) 
    {
        this.licenseScan = licenseScan;
    }

    public String getLicenseScan() 
    {
        return licenseScan;
    }

    public BasicInfo getBasic() {
        return basic;
    }

    public void setBasic(BasicInfo basic) {
        this.basic = basic;
    }

    @Override
    public String toString() {
        return "CareerInfo{" +
                "id=" + id +
                ", basicInfoId=" + basicInfoId +
                ", entryTime=" + entryTime +
                ", insuranceTime=" + insuranceTime +
                ", jobResume='" + jobResume + '\'' +
                ", currentWorkUnit='" + currentWorkUnit + '\'' +
                ", licenseScan='" + licenseScan + '\'' +
                ", basic=" + basic +
                '}';
    }
}
